<%@taglib uri="/WEB-INF/tlds/label.tld" prefix="lutag" %>

<% String sessionUsername = (String) session.getAttribute("username"); %>
<% String sessionType = (String) session.getAttribute("type"); %>
<body>
<table width="100%" style="border:none">
    <tr>
        <td class="copyRight"><lutag:image src="images/logo.jpg"/></td>
    </tr>
</table>
<table cellspacing="0" cellpadding="0" width="100%" class="table_bg" border="0" align="center">
    <tr>
        <td>
            <table cellspacing="1" cellpadding="4" width="100%" border="0">
                <tr class="tr_bg">
                    <td align="left" colspan="1" class="tr_bg">
                        <span class="span_style">
                        <b><lutag:label name="controlbar"/></b>
                        </span>
                    </td>
                </tr>
                <tr bgcolor="#ffffff">
                    <td align="left" valign="top" width="0">
                        <span class="span_style">
                        <table width="100%" height="0" border="0" cellpadding="0" cellspacing="0" class="infobar">
                            <tr>
                                <td width="50%" height="0" align="left" valign="top">
                                    <a href="./index.jsp?page=profile"><lutag:label name="editprofile"/></a>
                                </td>
                                <td width="50%" height="0" align="right" valign="top">
                                    <lutag:label name="logged"/><lutag:label name="colon"/> <%= sessionUsername %> <lutag:label
                                        name="type"/><lutag:label name="colon"/><%= sessionType %>
                                    &nbsp;&nbsp;[<a href="../servlet/User.logout"> <lutag:label name="logout"/></a>]
                                </td>
                            </tr>
                        </table>
                        </span>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
